package com.xpgk.xpsoft.route;

import com.jfinal.config.Routes;
import com.xpgk.xpsoft.code.CodeController;
import com.xpgk.xpsoft.code.CodeTypeController;
import com.xpgk.xpsoft.department.DepartmentController;
import com.xpgk.xpsoft.index.IndexController;
import com.xpgk.xpsoft.log.LogController;
import com.xpgk.xpsoft.login.LoginController;
import com.xpgk.xpsoft.role.RoleController;
import com.xpgk.xpsoft.run.RunStateController;
import com.xpgk.xpsoft.system.SystemController;
import com.xpgk.xpsoft.user.UserController;


public class XPSoft_Route extends Routes{

	@Override
	public void config() {
		// TODO Auto-generated method stub
		
		setBaseViewPath("/_xpsoft/view/");
		add("/xpsoft", IndexController.class, "index");
		add("/xpSystem", SystemController.class, "system");
		add("/xpCodeType", CodeTypeController.class, "codetype");
		add("/xpCode", CodeController.class, "code");
		add("/", LoginController.class, "login");
		add("/xpRole", RoleController.class, "role");
		add("/xpDepartment", DepartmentController.class, "department");
		add("/xpUser", UserController.class, "user");
		add("/xpCustomer", UserController.class, "customer");
		add("/xpRunState", RunStateController.class, "run");
		add("/xpLog", LogController.class, "log");
	}

}
